package com.ll.blog.service;

import com.ll.blog.contant.TypeEnum;
import com.ll.blog.entity.Content;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.blog.model.query.ContentQuery;
import com.ll.blog.model.query.PageQuery;
import com.ll.blog.model.res.ContentListRes;
import com.ll.blog.model.res.PageDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2023-10-25
 */
public interface IContentService extends IService<Content> {

    PageDto<ContentListRes> getContentByPage(Integer id, TypeEnum type, PageQuery query);
}
